package tt.lab.designparttern.visitor;

public  class ToBeVisited {
	public void accept(Visitor visitor){
		visitor.visit(this);
	}
	
	public void doA(){
		System.out.println("ToBeVisited.doA(): ");
	}
	public void doB(){
		System.out.println("ToBeVisited.doB(): ");
	}
	
}
